import request from '@/utils/request'

// 查询极客侠小程序ai发型库列表
export function listAiHairstyleType(query) {
  return request({
    url: '/business/aiHairstyleType/list',
    method: 'get',
    params: query
  })
}

// 查询极客侠小程序ai发型库详细
export function getAiHairstyleType(id) {
  return request({
    url: '/business/aiHairstyleType/' + id,
    method: 'get'
  })
}

// 新增极客侠小程序ai发型库
export function addAiHairstyleType(data) {
  return request({
    url: '/business/aiHairstyleType',
    method: 'post',
    data: data
  })
}

// 修改极客侠小程序ai发型库
export function updateAiHairstyleType(data) {
  return request({
    url: '/business/aiHairstyleType',
    method: 'put',
    data: data
  })
}

// 删除极客侠小程序ai发型库
export function delAiHairstyleType(id) {
  return request({
    url: '/business/aiHairstyleType/' + id,
    method: 'delete'
  })
}
